import api from "./api";
import { MyHttps } from "../utils/utils";

export async function ProjectDetailAddReq(params) {
    return MyHttps.post(api.project.detail.add(),params)
}

export async function ProjectDetailDelReq(params) {
    return MyHttps.post(api.project.detail.del(params.id),params)
}

export async function ProjectDetailUpdReq(params) {
    return MyHttps.post(api.project.detail.upd(params.id),params)
}

export async function ProjectDetailListReq(params) {
    return MyHttps.get(api.project.detail.list(),params)
}
export async function ProjectDetailGetReq(params) {
    return MyHttps.get(api.project.detail.get(params.id),params)
}